* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 1901px;
    background-color: #ffffff;
}

/* 导航 */
.container {
    position: relative;
    width: 100%;
    height: 55px;
    background-color: black;
}

.container ul {
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(0, -50%);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50%;
}

.container ul li {
    color: white;
    padding-right: 20px;
    padding-left: 20px;
    border-right: 1px solid white;
    cursor: pointer;
}

.container ul li:hover {
    color: rgb(76, 167, 136)
}

.container ul li:last-child {
    border-right: 1px solid transparent;
}

/* 头部 */
.header {
    position: relative;
    width: 100%;
    height: 120px;
    background-color: rgb(255, 255, 255);
}

.log {
    width: 220px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 15.5%;
    transform: translate(-50%, -50%);
}

.log img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.nav {
    height: 100%;
    position: absolute;
    top: 0;
    left: 48%;
    transform: translate(-50%, 0);
}

.nav ul {
    height: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav ul li {
    color: black;
    font-size: 20px;
    margin-right: 60px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}


.nav ul li:hover {
    color: rgb(76, 167, 136);
    border-bottom: 2px solid rgb(76, 167, 136);
}

.search {
    position: absolute;
    top: 50%;
    right: 16%;
    transform: translate(0, -50%);
}

.search input {
    padding-left: 20px;
    width: 220px;
    height: 40px;
    border: none;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

.search input:focus {
    outline: none;
}

.cart {
    position: absolute;
    top: 50%;
    right: 10.5%;
    transform: translate(0, -50%);
    font-size: 30px;
}

.cart-num {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: rgb(255, 6, 6);
    border-radius: 50%;
    color: white;
    font-size: 10px;
    text-align: center;
    top: 38%;
    right: 10.8%;
}

/* banner */
.banner {
    width: 100%;
    height: 550px;
    z-index: 1;
    background-color: #f3f5f7;
}

.banner>div {
    position: relative;
    width: 80%;
    height: 100%;
    margin: 0 auto;
    display: flex;

    z-index: 2;
}

.pic {
    position: absolute;
    list-style: none;
    width: 20%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.5);
    z-index: 5;
}

.pic li {
    padding: 13px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;

}

.pic li a {
    color: white;
    text-decoration: none;
}

.pic li span {
    font-size: 20px;
    color: white;
}

.pic li:hover {
    background-color: rgb(76, 167, 136);
}

.banner>div>div:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(37, 239, 78);
}

.banner>div>div:nth-child(2) ul {
    list-style: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.banner>div>div:nth-child(2) ul li {
    cursor: pointer;
    height: 100%;
}

.banner>div>div:nth-child(2) ul li img {
    vertical-align: middle;
    object-fit: cover;
    width: 1540px;
    height: 100%;
}

ol {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    list-style: none;
}

ol li {
    width: 22px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.50);
    border-radius: 50%;
    border: 4px solid transparent;
    margin-left: 8px;
    background-clip: padding-box;
    /* 手型 */
    cursor: pointer;
}

ol li:hover {
    background-color: rgba(255, 255, 255, 1);
}

/*新鲜好物-人气推荐*/

.xxhw>div {
    height: 80px;
    width: 80%;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.xxhw>div>a {
    color: rgb(158, 158, 158);
    text-decoration: none;
}

.xxhw>div>span {
    color: rgb(158, 158, 158);
}

.xxhw>div>span>b {
    font-size: 24px;
    margin-left: 20px;
    margin-right: 20px;
    color: rgb(97, 96, 96);
}

.xxhw>ul {
    width: 80%;
    margin: 0 auto;
    height: 550px;
    list-style: none;
    display: flex;
    justify-content: space-between;

}

.xxhw>ul>li {
    width: 24%;
    height: 100%;
    background-color: #f3f5f7;
    cursor: pointer;

}

.xxhw>ul>li>img {
    width: 100%;
    height: 80%;
    margin: -0;
    overflow: hidden;
    vertical-align: middle;
    object-fit: cover;
}

.xxhw>ul>li>div {
    padding-top: 20px;
    height: 20%;
    width: 100%;
    text-align: center;
    color: #393939;
}

.xxhw>ul>li>div>p:nth-child(2) {
    color: #f96641;
    margin-top: 5px;
}

.rmpp {
    position: relative;
}

.rmpp>div>span {
    color: rgb(158, 158, 158);
}

.rmpp>div>span>b {
    font-size: 24px;
    margin-left: 20px;
    margin-right: 20px;
    color: rgb(97, 96, 96);
}

.rmpp>div {
    height: 80px;
    width: 80%;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.rmpp>ul {
    width: 80%;
    margin: 0 auto;
    height: 360px;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.rmpp>ul>li {
    width: 19%;
    height: 100%;
    background-color: #f3f5f7;
    cursor: pointer;

}

.rmpp div:nth-child(1),
.rmpp div:nth-child(2) {
    position: absolute;
    width: 20px;
    height: 20px;
    color: #ffffff;
    background-color: rgb(190, 196, 194);
    top: 14%;
    right: 12%;
    transform: translate(-50%, -50%);
}

.rmpp div:nth-child(2) {
    right: 10%;
    background-color: rgb(76, 167, 136);
}

.rmpp>ul>li>a>img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    vertical-align: middle;
    object-fit: cover;

}

.sx {
    width: 80%;
    height: 800px;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
}

.top {
    height: 80px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.top ul {
    width: 35%;
    height: 100%;
    position: absolute;
    top: 85%;
    left: 70%;
    transform: translate(-50%, -50%);
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.top ul li {
    width: 100%;
    padding: 0 auto;
    height: 30px;
    margin-right: 20px;
    text-align: center;
    cursor: pointer;
}

.top a {
    color: rgb(158, 158, 158);
    text-decoration: none;
    margin-right: 20px;
}

.top span {
    font-size: 20px;
}

.top span B {
    font-size: 24px;
    margin-left: 20px;
    margin-right: 20px;
    color: rgb(97, 96, 96);
}

.top>ul>li:hover {
    color: #ffffff;
    background-color: rgb(76, 167, 136);
}

.bottom {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left {
    position: relative;
    width: 18%;
    height: 100%;
    background-color: aquamarine;
}

.right {
    width: 80%;
    height: 100%;
    background-color: rgb(255, 255, 255);
}

.left>a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
    overflow: hidden;
}

.big {
    display: flex;
    position: absolute;
    top: 50%;
    left: 36%;
    width: 70%;
    height: 60px;
    transform: translate(-50%, -50%);
}

.big div:nth-child(1) {
    width: 40%;
    height: 100%;
    background-color: rgb(123, 123, 123, 0.5);
    padding: 5px;
    padding-top: 18px;

}

.big-right {
    width: 60%;
    height: 100%;
    background-color: rgba(188, 187, 187, 0.5);
    padding: 5px;
    padding-top: 18px;
}

.right ul {
    position: relative;
    top: 2%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: center;
    height: 100%;
    width: 100%;
}

.right ul li {
    width: 23%;
    height: 48%;
    background-color: rgb(255, 255, 255);
    margin-bottom: 31px;
    cursor: pointer;
}

.right ul li a img {
    width: 100%;
    height: 65%;
    object-fit: cover;
    vertical-align: middle;
    overflow: hidden;
}

.right ul li div {
    position: relative;
    width: 100%;
    height: 35%;
    z-index: 3;
}

.right ul li div>p:nth-child(4) {
    margin-bottom: 10px;
}

.right ul li div span {
    font-size: 20px;
    color: #fc9300;
}

.right ul li div>div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    color: #ffffff;
    text-align: center;
    padding-top: 20px;
    opacity: 0;
    background-color: rgba(72, 255, 0, 1);
    transition: all 0.3s ease-in-out;
}

.right ul li div>div>h2 {
    margin-bottom: 5px;
    padding-bottom: 5px;
    width: 50%;
    margin: 0 auto;
    border-bottom: #f3f5f7 1px solid;
}

.right ul li:hover div>div {
    opacity: 1;
}

.zzzt {
    width: 80%;
    height: 400px;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
    position: relative;
    top: 80px;
}

.zzzt>div {
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zzzt>div>span {
    margin: 20px;
    font-size: 20px;
    color: rgb(97, 96, 96);
}

.zzzt>div>a {
    color: rgb(158, 158, 158);
    text-decoration: none;
}

.zzzt>ul {
    width: 100%;
    height: 320px;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.zzzt>ul>li {
    width: 32%;
    height: 100%;
    position: relative;
    cursor: pointer;

}

.zzzt>ul>li>a>img {
    width: 100%;
    height: 80%;
    background-color: #ffffff;
    position: relative;
    vertical-align: middle;
    object-fit: cover;
    overflow: hidden;

}

.h3 {
    width: 486px;
    position: absolute;
    display: flex;
    top: 58%;
    padding: 10px;
    justify-content: space-between;
    background-image: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(0, 0, 0, 0.5));

}

.h3-right {
    width: 80px;
    height: 30px;
    margin-top: 20px;

}

.h3-left {
    color: #ffffff;


}

.h3-right {
    color: #ff0000;
    background-color: white;


}

.like {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.like span:nth-child(1) {
    margin-left: 0;
    padding-right: 100px;
}

.like span:nth-child(2) {
    margin-right: 0;
    padding-left: 100px;
}

.foot {
    width: 100%;
    height: 700px;
    background-color: #f3f5f7;
    transform: translateY(100px);
}

.foot>div {
    width: 80%;
    height: 100%;
    margin: 0 auto;

}

.foot-top {
    width: 100%;
    height: 200px;
    border-bottom: rgba(0, 0, 0, 0.1) 0.5px solid;

}

.foot-top>ul {
    width: 100%;
    height: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foot-top>ul>li {
    display: flex;
    width: 20%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #3e3e3e;
    cursor: pointer;
}

.foot-center {
    width: 100%;
    height: 300px;

    display: flex;
}

.foot-center>div:nth-child(1) {
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foot-center>div:nth-child(1)>dl>dt {
    font-size: 20px;
    margin-bottom: 20px;
}

.foot-center>div:nth-child(1)>dl>dd {
    margin-bottom: 10px;
}

a {
    color: #3e3e3e;
    text-decoration: none;
}

.foot-center>div:nth-child(2) {
    width: 30%;
    height: 60%;

    display: flex;
    margin-top: 70px;
    justify-content: center;
    align-items: center;
}

.foot-center>div:nth-child(2)>div {
    width: 35%;
    height: 100%;
    margin: 0 auto;

    text-align: center;
}

.foot-center>div:nth-child(2)>div>img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    vertical-align: middle;
    overflow: hidden;
}

.foot-bottom {
    width: 100%;
    height: 200px;

    text-align: center;
}

.foot-bottom>ul {
    width: 100%;
    height: 50%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: end;
    margin-bottom: 20px;
}

.foot-bottom>ul>li {
    padding-right: 20px;
    padding-left: 20px;
    border-right: #393939 1px solid;
    cursor: pointer;
}

/*广告*/
.gg {
    display: block;
    position: fixed;
    top: 50%;
    /* 距离顶部50% */
    right: 0%;
    /* 距离左侧50% */
    transform: translate(-50%, -50%);
    width: 300px;
    height: 220px;
    animation: move 0.3s infinite;
    z-index: 100;
}

.gg>div {
    position: relative;
    color: #ffffff;
    overflow: hidden;
    text-align: end;
    width: 300px;
    height: 220px;
}

.gg>div>span {
    display: inline-block;
    position: absolute;
    height: 30px;
    width: 30px;
    font-size: 20px;
    padding-right: 8px;
    border: 1px solid #585656;
    color: #585656;
    cursor: pointer;

}

.gg>div>a {
    height: 100%;
    width: 100%;
    overflow: hidden;
    object-fit: fill;

}

.gg>div>a>img {
    object-fit: fill;
    vertical-align: middle;
    width: 300px;
    height: 220px;
}

.gg>div>.div-gg {
    position: absolute;
    width: 100%;
    height: 30px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
    z-index: 101;
    top: 190px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
}

@keyframes move {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.1, 1.1);
    }

    100% {
        transform: scale(1, 1);
    }
}